/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ania2.engine.utils;

/**
 *
 * @author pawel
 */
public class TranspositionTableEntry {

    private int value;
    private int depth;
    private TableEntryType type;
    private long lockCode;
    private int bestMoveHashCode;

    public TranspositionTableEntry(int value, int depth, TableEntryType type, 
            long lockCode, int bestMoveHashCode) {
        this.value = value;
        this.depth = depth;
        this.type = type;
        this.lockCode = lockCode;
        this.bestMoveHashCode = bestMoveHashCode;
    }

    public int getDepth() {
        return depth;
    }

    public void setDepth(int depth) {
        this.depth = depth;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public TableEntryType getType() {
        return type;
    }

    public void setType(TableEntryType type) {
        this.type = type;
    }

    public long getLockCode() {
        return lockCode;
    }

    public void setLockCode(long lockCode) {
        this.lockCode = lockCode;
    }

    public int getBestMoveHashCode() {
        return bestMoveHashCode;
    }

    public void setBestMoveHashCode(int bestMoveHashCode) {
        this.bestMoveHashCode = bestMoveHashCode;
    }
    
    
    
}
